﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using ItemStatistics.Models;


namespace ItemStatistics.ViewModels.CustomerVMs
{
    public partial class CustomerTemplateVM : BaseTemplateVM
    {
        [Display(Name = "姓名")]
        public ExcelPropety Name_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Name);
        [Display(Name = "地址")]
        public ExcelPropety Address_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Address);
        [Display(Name = "手机号")]
        public ExcelPropety Phone_Excel = ExcelPropety.CreateProperty<Customer>(x => x.Phone);

	    protected override void InitVM()
        {
        }

    }

    public class CustomerImportVM : BaseImportVM<CustomerTemplateVM, Customer>
    {

    }

}
